<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>test</title>
</head>
<body>
    <div>
        <a href="#"> div&gt;a</a>
    </div>
    <a href="#">
        <div> a&gt;div</div>
    </a>
</body>
</html>
